/**
 *  这个组件就是一条细线
 */

import React, {Component} from 'react';
import {
  View,
  TextInput,
  Text,
  StyleSheet,
  Dimensions,
  Button,
  Image,
} from 'react-native';

const {width} = Dimensions.get('window');

const componentWidth = width - 40;
export default class Line extends Component {
  constructor(props) {
    super(props);
  }
  render() {
    return <View style={styles.line} />;
  }
}
const styles = StyleSheet.create({
  line: {
    backgroundColor: '#F8F6F9',
    height: 1,
    width: componentWidth,
    marginTop: 5,
    marginLeft: 20,
  },
});
